package com.zys.sac.core.exception;

import org.springframework.security.authentication.InsufficientAuthenticationException;

/**
 * Created by zhongjunkai on 2022/3/15.
 */
public class SacAuthenticationException extends InsufficientAuthenticationException {

    private String code;

    public SacAuthenticationException(String code, String msg) {
        super(msg);
        this.code = code;
    }

    public String getCode() {
        return code;
    }
}
